package top.ucat.starter.mybatis.plugs.common.beans;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "分页展示", description = "分页展示详细")
public class PageVo<T> implements Serializable {

    @ApiModelProperty(value = "总数", name = "total")
    private Long total;
    @ApiModelProperty(value = "数据集合", name = "data")
    private List<T> data;
}
